//package com.bitdf.txing.product.feign.impl;
//
//import com.bitdf.txing.common.to.SkuHasStockVo;
//import com.bitdf.txing.common.utils.R;
//import com.bitdf.txing.product.feign.ProdcutWareFeignService;
//import com.bitdf.txing.ware.service.WareSkuService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//
///**
// * @author Lizhiwei
// * @date 2023/9/6 19:27:36
// * 注释：
// */
//@Service
//@ConditionalOnProperty(value = "tx.deploy.mode", havingValue = "standalone")
//public class ProdcutWareFeignServiceImpl implements ProdcutWareFeignService {
//    @Autowired
//    WareSkuService wareSkuService;
//    @Override
//    public R getSkusHasStock(List<Long> skuIds) {
//        List<SkuHasStockVo> vos = wareSkuService.getSkusHasStock(skuIds);
//        return R.ok().setData(vos);
//    }
//
//    /**
//     * 测试
//     * @return
//     */
//    @Override
//    public R testSeata() {
//        return null;
//    }
//}
